package com.s3.khospitalds.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.s3.khospitalds.common.ResponseEntity;
import com.s3.khospitalds.entity.Doctor;
import com.s3.khospitalds.entity.DoctorResignInfo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: 想要告诉你
 * @CreateTime: 2025/2/19 10:19
 * @Description:
 * @Version: 1.0
 */

@Service
public interface DoctorService extends IService<Doctor> {
    public List<Doctor> getDoctorResignInfo();
    // 分页显示/查询
    public ResponseEntity getDoctor(int pageNum, int pageSize, String search);

    // 查询辞职人员
    public ResponseEntity getResignDoctor();

    // 插入
    public int insertDoctor(Doctor doctor);
    // 修改
    public boolean updateDoctor(Doctor doctor);
    // 删除
    public boolean deleteDoctor(DoctorResignInfo doctorResignInfo);
}
